home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2001 #13 / CD 13 (Black) - 2001.iso / Open Kart / data1.cab / Level_0_English_Data / menu_principal.txt < prev   
Encoding:
Text File  |  2001-05-10  |  12.4 KB  |  725 lines

  1. ;//****************** S╔LECTION DU PILOTE *************************
  2. new Container
  3. {
  4.     name "base_container"
  5.     z 1
  6.  
  7.     background "data/menus/i_bg_principal_640_0.nif"
  8.     
  9.     new MenuButton
  10.     {
  11.         name "titre_fenetre_sp"
  12.         x 0.749
  13.         y 0.85
  14.         size_x 0.25
  15.         size_y 0.163
  16.         visible 1
  17.         text "Driver"
  18.         text2 "Selection"
  19.         text_size 0.45
  20.         text_initial_color <0,0.66,1,1>
  21.         normal_image "data/menus/i_titre_bouton.nif"
  22.         highlight_image ""
  23.     }
  24.     on_idle ActionIdleManager
  25.     {
  26.         current_menu 0
  27.     }
  28.     
  29.     new FastFont
  30.     {
  31.         x 0.36
  32.         y 0.82
  33.         ratio 0.3
  34.         text "Select a driver to load:"
  35.         initial_color <1,1,1,1>
  36.     }    
  37.     new List
  38.     {
  39.         name "PilotList"
  40.         x 0.35
  41.         y 0.47
  42.         z 0.9
  43.         size_x 0.40
  44.         size_y 0.34
  45.         background "data/menus/i_carre_listbox.nif"
  46.  
  47.         ArrowUpFile "data/menus/i_progress_fleche_haut.nif"
  48.         ArrowDownFile "data/menus/i_progress_fleche_bas.nif"
  49.         SliderFile "data/menus/i_progress_bouton.nif"
  50.         SliderBackGndFile "data/menus/i_progress_bar.nif"
  51.         ArrowUpFileSelect "data/menus/i_progress_fleche_haut_select.nif"
  52.         ArrowDownFileSelect "data/menus/i_progress_fleche_bas_select.nif"
  53.  
  54.         selection_type 0
  55.         display_type 1
  56.     }
  57.     new MenuButton
  58.     {
  59.         name "menu_sp_effacer"
  60.         ;// Effacer
  61.         x 0.46
  62.         y 0.20
  63.         text "Delete"
  64.         ;// eSP_EFFACER
  65.         state_manager "5"
  66.     }
  67.     new MenuButton
  68.     {
  69.         name "menu_sp_charger"
  70.         ;// Charger
  71.         x 0.60
  72.         y 0.24
  73.         text "Load"
  74.         ;// eSP_CHARGER
  75.         state_manager "6"
  76.     }
  77.     new MenuButton
  78.     {
  79.         ;// Nouveau
  80.         x 0.74
  81.         y 0.28
  82.         text "New"
  83.         fade_to "container_sp_nouveau"
  84.     }
  85. ;    new MenuButton
  86. ;    {
  87. ;        ;// Quitter
  88. ;        x 0.71
  89. ;        y 0.08
  90. ;        text "Quit"
  91. ;        ;// QUIT
  92. ;        state_manager "0"
  93. ;        
  94. ;    }
  95. }
  96. ;//****************** SP - NOUVEAU PILOTE *************************
  97. new Container
  98. {
  99.     name "container_sp_nouveau"
  100.     z 1
  101.  
  102.     background "data/menus/i_bg_principal_640_0.nif"
  103.     
  104.     new MenuButton
  105.     {
  106.         name "titre_fenetre_np"
  107.         x 0.749
  108.         y 0.85
  109.         size_x 0.25
  110.         size_y 0.163
  111.         visible 1
  112.         text "Driver"
  113.         text2 "Selection"
  114.         text_size 0.45
  115.         text_initial_color <0,0.66,1,1>
  116.         normal_image "data/menus/i_titre_bouton.nif"
  117.         highlight_image ""
  118.     }
  119.     on_idle ActionIdleManager
  120.     {
  121.         current_menu 1
  122.     }
  123.     new Button
  124.     {
  125.         ;// fond
  126.         x 0.35
  127.         y 0.45
  128.         z 0.9
  129.         size_x 0.5
  130.         size_y 0.4
  131.         state_normal ActionAnimableImage
  132.         {
  133.             list ("data/menus/i_carre_pop_up.nif")
  134.         }
  135.     }
  136.     new FastFont
  137.     {
  138.         x 0.59
  139.         y 0.74
  140.         ratio 0.3
  141.  
  142.         text "Enter your name:"
  143.         initial_color <1,1,1,1>
  144.         auto_center 1
  145.     }
  146.     new TextBox
  147.     {
  148.         name "sp_player_name"
  149.         x 0.495
  150.         y 0.68
  151.         size_x 0.195
  152.         size_y 0.04
  153.  
  154.         initial_image "data/menus/i_textbox.nif"
  155.         cursor_image "Data/menus/i_texte_curseur.nif"
  156.  
  157.         text_x 0.03
  158.         text_y 0.03
  159.         text_size_x 0.94
  160.  
  161.         keepFocusOnEnter 1
  162.         generateEnterOnMissClick 0
  163.         
  164.         char_ratio_x 0.3
  165.         initial_color <0.99,0.61,0,1>
  166.         select_color <1,1,0,1>
  167.         over_color <0,0.66,1,1>
  168.     }
  169.     new MenuButton
  170.     {
  171.         name "menu_sp_nouveau_accepter"
  172.         ;// nouveau
  173.         x 0.532
  174.         y 0.52
  175.         text "Accept"
  176.         ;// eSP_NOUVEAU
  177.         state_manager "4"
  178.     }
  179.     new MenuButton
  180.     {
  181.         ;// annuler (precedant)
  182.         x 0.71
  183.         y 0.08
  184.         text "Cancel"
  185.         fade_to "base_container"
  186.     }
  187. }
  188. ;//****************** MENU PRINCIPALE *****************************
  189. new Container
  190. {
  191.     on_idle ActionIdleManager
  192.     {
  193.         current_menu 2000
  194.     }
  195.  
  196.     name "container_menu_principal"
  197.     z 1
  198.  
  199.     background "data/menus/i_bg_principal_640_0.nif"
  200.     
  201.     new MenuButton
  202.     {
  203.         name "titre_fenetre_mp"
  204.         x 0.749
  205.         y 0.85
  206.         size_x 0.25
  207.         size_y 0.163
  208.         visible 1
  209.         text "Main"
  210.         text2 "Menu"
  211.         text_size 0.45
  212.         text_initial_color <0,0.66,1,1>
  213.         normal_image "data/menus/i_titre_bouton.nif"
  214.         highlight_image ""
  215.     }
  216.     new MenuButton
  217.     {
  218.         ;// Carriere
  219.         x 0.012
  220.         y 0.85
  221.         text "Career"
  222.         name "CAREER"
  223.         ;// eSHOW_CARRIERE  carriere_new + carriere_load
  224.         ui_manager "3"
  225.     }
  226.     ;// **** Hidden buttons for Carriere ****
  227.         new MenuButton
  228.         {
  229.             name "carriere_new"
  230.             ;// Nouvelle carriere
  231.             x 0.18
  232.             y 0.90
  233.             text "New"
  234.  
  235.             ;// eCAREER_NOUVELLE
  236.             state_manager "1011"
  237.             change_script "menu_carriere_config_kart.txt"
  238.             change_container "container_carriere_config_kart"
  239.         }
  240.         new MenuButton
  241.         {
  242.             name "carriere_load"
  243.             ;// Continuer une carriere
  244.             x 0.18
  245.             y 0.80
  246.             text "Continue"
  247.  
  248.             ;eCHAMPIONSHIP_CHARGER_CAREER
  249.             state_manager "1212"
  250.         }
  251.     ;// **** FIN - Hidden buttons for Carriere ****
  252.     new MenuButton
  253.     {
  254.         ;// Arcade
  255.         x 0.004
  256.         y 0.75
  257.         text "Arcade"
  258.         ;// eSHOW_ARCADE  arcade_single + arcade_champ
  259.         ui_manager "1" 
  260.     }
  261.     ;// **** Hidden buttons for Arcade ****
  262.         new MenuButton
  263.         {
  264.             name "arcade_single"
  265.             ;// Course simple
  266.             x 0.18
  267.             y 0.80
  268.  
  269.             text "Basic"
  270.             text2 "Race"
  271.  
  272.             ;// eARCADE_START_SINGLE
  273.             state_manager "2008"
  274.         }
  275.         new MenuButton
  276.         {
  277.             name "arcade_champ"
  278.             ;// Championnat
  279.             x 0.18
  280.             y 0.70
  281.             text "Championship"
  282.  
  283.             ;// eSHOW_ARCADE_CHAMP  arcade_champ_new + arcade_champ_load
  284.             ui_manager "2" 
  285.         }
  286.             new MenuButton
  287.             {
  288.                 name "arcade_champ_new"
  289.                 ;// Nouveau championnat
  290.                 x 0.33
  291.                 y 0.75
  292.                 text "New"
  293.                                 
  294.                 ;// eARCADE_CHAMP_START
  295.                 state_manager "2014"
  296.             }
  297.             new MenuButton
  298.             {
  299.                 name "arcade_champ_load"
  300.                 ;// Continuer un championnat
  301.                 x 0.33
  302.                 y 0.65
  303.                 text "Continue"
  304.  
  305.                 ;eCHAMPIONSHIP_CHARGER_ARCADE
  306.                 state_manager "1211"
  307.             }
  308.     ;// **** FIN - Hidden buttons for Arcade ****
  309.     new MenuButton
  310.     {
  311.         ;// Course contre montre
  312.         x 0.005
  313.         y 0.65
  314.         text "Time"
  315.         text2 "attack"
  316.         name "TIMETRIAL"
  317.  
  318.         ;// eTIME_TRIAL_START
  319.         state_manager "3000"
  320.     }
  321.     new MenuButton
  322.     {
  323.         ;// Multijoueur
  324.         x 0.015
  325.         y 0.55
  326.         text "Multiplayer"
  327.  
  328.         ;// eSHOW_MULTI  multi_creer + multi_joindre
  329.         ui_manager "0" 
  330.     }
  331.     ;// ****** Hidden buttons for Multijoueur ******
  332.         new MenuButton
  333.         {
  334.             name "multi_creer"
  335.             ;// Creer une partie
  336.             x 0.18
  337.             y 0.60
  338.             text "Create"
  339.             change_script "menu_multijoueur.txt"
  340.             change_container "container_multijoueur_create_server"
  341.         }
  342.         new MenuButton
  343.         {
  344.             name "multi_joindre"
  345.             ;// Joindre une partie
  346.             x 0.18
  347.             y 0.50
  348.             text "Join"
  349.  
  350.             ;// eMP_PREPARE_JOIN
  351.             state_manager "47"
  352.             change_script "menu_multijoueur_select_server.txt"
  353.             change_container "container_multijoueur_select_server"
  354.         }
  355.     ;// ****** FIN - Hidden buttons for Multijoueur ******
  356.     new MenuButton
  357.     {
  358.         ;// Options generales
  359.         x 0.038
  360.         y 0.45
  361.         text "Options"
  362.         change_script "menu_option.txt"
  363.         change_container "container_option_de_jeu"        
  364.     }
  365.     new MenuButton
  366.     {
  367.         ;// Credits
  368.         x 0.07
  369.         y 0.35
  370.         text "Credits"
  371.  
  372.         ;// eTIME_TRIAL_START
  373.         state_manager "4999"
  374.     }
  375.     new MenuButton
  376.     {
  377.         ;// Retour au menu de la selection du pilote (base container)
  378.         x 0.862
  379.         y 0.15
  380.         text "Driver"
  381.         text2 "Selection"
  382.         fade_to "base_container"
  383.     }
  384.     new MenuButton
  385.     {
  386.         x 0.74
  387.         y 0.07
  388.         ;// Quitter
  389.         text "Quit"
  390.         ;// QUIT
  391.         state_manager "0"
  392.     }
  393. }
  394. ;//************* GENERAL SAUVER/CHARGER ***************
  395. new Container
  396. {
  397.     name "container_general_sauver_charger"
  398.     z 1
  399.  
  400.     background "data/menus/i_bg_loadsave_640_0.nif"
  401.  
  402.  
  403.     on_idle ActionIdleManager
  404.     {
  405.         current_menu 1012
  406.     }
  407.         
  408.     new MenuButton
  409.     {
  410.         name "titre_fenetre_sauver_charger"
  411.         x 0.749
  412.         y 0.85
  413.         size_x 0.25
  414.         size_y 0.163
  415.         text "Save/"
  416.         text2 "Load"
  417.         text_size 0.45
  418.         text_initial_color <0,0.66,1,1>
  419.         normal_image "data/menus/i_titre_bouton.nif"
  420.         highlight_image ""
  421.     }
  422.     new FastFont
  423.     {
  424.         x 0.38
  425.         y 0.83
  426.         ratio 0.4
  427.         text "Select a game:"
  428.         initial_color <1,1,1,1>
  429.     }    
  430.     new List
  431.     {
  432.         name "general_charger_sauver_list"
  433.         x 0.3
  434.         y 0.47
  435.         z 0.9
  436.         size_x 0.53
  437.         size_y 0.325
  438.         background "data/menus/i_carre_listbox.nif"
  439.  
  440.         ArrowUpFile "data/menus/i_progress_fleche_haut.nif"
  441.         ArrowDownFile "data/menus/i_progress_fleche_bas.nif"
  442.         SliderFile "data/menus/i_progress_bouton.nif"
  443.         SliderBackGndFile "data/menus/i_progress_bar.nif"
  444.         ArrowUpFileSelect "data/menus/i_progress_fleche_haut_select.nif"
  445.         ArrowDownFileSelect "data/menus/i_progress_fleche_bas_select.nif"
  446.  
  447.         multi_column (0.23,0.07,0.08)
  448.  
  449.         selection_type 3
  450.         display_type 1
  451.     }
  452.     new MenuButton
  453.     {
  454.         ;// Charger
  455.         x 0.86
  456.         y 0.46
  457.         text "Load"
  458.         name "general_charger_button"
  459.  
  460.         ;eCHAMPIONSHIP_CHARGER
  461.         state_manager "1202"
  462.     }
  463.     new MenuButton
  464.     {
  465.         ;// Sauver
  466.         x 0.797
  467.         y 0.37
  468.         text "Save"
  469.         name "general_sauver_button"
  470.  
  471.         ;eCHAMPIONSHIP_SAUVER
  472.         state_manager "1203"
  473.     }
  474.     new MenuButton
  475.     {
  476.         ;// Effacer
  477.         x 0.716
  478.         y 0.285
  479.         text "Delete"
  480.         name "general_effacer_button"
  481.  
  482.         ;eCHAMPIONSHIP_DETRUIRE_FILE
  483.         state_manager "1204"
  484.     }
  485.     new MenuButton
  486.     {
  487.         ;// Retour
  488.         x 0.74
  489.         y 0.07
  490.         text "Back"
  491.  
  492.         ;eCHAMPIONSHIP_RETOUR_LOADSAVE
  493.         state_manager "1205"        
  494.     }
  495. }
  496.  
  497.  
  498. ;;;;;;;; TO LOAD A CHAMPIONSHIP ;;;;;;;; 
  499. new Container
  500. {
  501.     name "container_charger"
  502.     z 1
  503.  
  504.     background "data/menus/i_bg_loadsave_640_0.nif"
  505.  
  506.  
  507.     on_idle ActionIdleManager
  508.     {
  509.         ;eMENU_CHAMPIONSHIP_LOAD_START
  510.         current_menu 1023
  511.     }
  512.         
  513.     new MenuButton
  514.     {
  515.         name "titre_fenetre_charger"
  516.         x 0.749
  517.         y 0.85
  518.         size_x 0.25
  519.         size_y 0.163
  520.         text "Load"
  521.         text_size 0.45
  522.         text_initial_color <0,0.66,1,1>
  523.         normal_image "data/menus/i_titre_bouton.nif"
  524.         highlight_image ""
  525.     }
  526.     new FastFont
  527.     {
  528.         x 0.38
  529.         y 0.83
  530.         ratio 0.4
  531.         text "Select a game:"
  532.         initial_color <1,1,1,1>
  533.     }    
  534.     new List
  535.     {
  536.         name "charger_list"
  537.         x 0.3
  538.         y 0.47
  539.         z 0.9
  540.         size_x 0.53
  541.         size_y 0.325
  542.         background "data/menus/i_carre_listbox.nif"
  543.  
  544.         ArrowUpFile "data/menus/i_progress_fleche_haut.nif"
  545.         ArrowDownFile "data/menus/i_progress_fleche_bas.nif"
  546.         SliderFile "data/menus/i_progress_bouton.nif"
  547.         SliderBackGndFile "data/menus/i_progress_bar.nif"
  548.         ArrowUpFileSelect "data/menus/i_progress_fleche_haut_select.nif"
  549.         ArrowDownFileSelect "data/menus/i_progress_fleche_bas_select.nif"
  550.  
  551.         multi_column (0.23,0.07,0.08)
  552.  
  553.         selection_type 3
  554.         display_type 1
  555.     }
  556.     new MenuButton
  557.     {
  558.         ;// Charger
  559.         x 0.86
  560.         y 0.46
  561.         text "Load"
  562.         name "charger_start"
  563.  
  564.         ;eCHAMPIONSHIP_CHARGER_START
  565.         state_manager "1213"
  566.     }
  567.     new MenuButton
  568.     {
  569.         ;// Sauver
  570.         x 0.797
  571.         y 0.37
  572.         text "Save"
  573.         activated 0
  574.     }
  575.     new MenuButton
  576.     {
  577.         ;// Effacer
  578.         x 0.716
  579.         y 0.285
  580.         text "Delete"
  581.         name "effacer_start"
  582.  
  583.         ;eCHAMPIONSHIP_SCRAPER_START
  584.         state_manager "1214"
  585.     }
  586.     new MenuButton
  587.     {
  588.         ;// Retour
  589.         x 0.74
  590.         y 0.07
  591.         text "Back"
  592.  
  593.         change_script "menu_principal.txt"
  594.         change_container "container_menu_principal"
  595.     }
  596. }
  597. ;//****************** S╔LECTION DU PILOTE *************************
  598. new Container
  599. {
  600.     name "batch_mode_trigger"
  601.     z 1
  602.  
  603.     background "data/menus/i_bg_principal_640_0.nif"
  604.     
  605.     new MenuButton
  606.     {
  607.         name "titre_fenetre_sp"
  608.         x 0.749
  609.         y 0.85
  610.         size_x 0.25
  611.         size_y 0.163
  612.         visible 1
  613.         text "BATCH"
  614.         text2 "MODE..."
  615.         text_size 0.45
  616.         text_initial_color <0,0.66,1,1>
  617.         normal_image "data/menus/i_titre_bouton.nif"
  618.         highlight_image ""
  619.     }
  620.     on_idle ActionIdleManager
  621.     {
  622.         ;eMENU_BATCH_MODE                        
  623.         current_menu 1103
  624.     }    
  625.  
  626.     new MenuButton
  627.     {
  628.         ;// Quitter
  629.         name "nada_batch_mode"
  630.         x 0.71
  631.         y 0.08
  632.         text "Quit"
  633.         ;// QUIT
  634.         state_manager "0"
  635.     }
  636. }
  637.  
  638. new Container
  639. {
  640.     name "batch_mode_next_run"
  641.     z 1
  642.  
  643.     background "data/menus/i_bg_principal_640_0.nif"
  644.     
  645.     new MenuButton
  646.     {
  647.         name "titre_fenetre_sp"
  648.         x 0.749
  649.         y 0.85
  650.         size_x 0.25
  651.         size_y 0.163
  652.         visible 1
  653.         text "NEXT BATCH"
  654.         text2 "RUN..."
  655.         text_size 0.45
  656.         text_initial_color <0,0.66,1,1>
  657.         normal_image "data/menus/i_titre_bouton.nif"
  658.         highlight_image ""
  659.     }
  660.     on_idle ActionIdleManager
  661.     {
  662.         ;eMENU_BATCH_MODE_NEXT_RUN                        
  663.         current_menu 1104
  664.     }    
  665.     new MenuButton
  666.     {
  667.         x 0.71
  668.         y 0.08
  669.         text "Quit"
  670.         ;// QUIT
  671.         state_manager "0"        
  672.     }
  673.     new FastFont
  674.     {
  675.         name "stats"
  676.         x 0.5
  677.         y 0.55
  678.         auto_center 1
  679.         ratio 0.45
  680.         text "toto"
  681.         initial_color <0,0.66,1,1>
  682.     }
  683. }
  684.  
  685. ;//****************** S╔LECTION DU PILOTE *************************
  686. new Container
  687. {
  688.     name "batch_mode_trigger"
  689.     z 1
  690.  
  691.     background "data/menus/i_bg_principal_640_0.nif"
  692.     
  693.     new MenuButton
  694.     {
  695.         name "titre_fenetre_sp"
  696.         x 0.749
  697.         y 0.85
  698.         size_x 0.25
  699.         size_y 0.163
  700.         visible 1
  701.         text "BATCH"
  702.         text2 "MODE..."
  703.         text_size 0.45
  704.         text_initial_color <0,0.66,1,1>
  705.         normal_image "data/menus/i_titre_bouton.nif"
  706.         highlight_image ""
  707.     }
  708.     on_idle ActionIdleManager
  709.     {
  710.         ;eMENU_BATCH_MODE                        
  711.         current_menu 1103
  712.     }    
  713.  
  714.     new MenuButton
  715.     {
  716.         ;// Quitter
  717.         name "nada_batch_mode"
  718.         x 0.71
  719.         y 0.08
  720.         text "Quit"
  721.         ;// QUIT
  722.         state_manager "0"
  723.     }
  724. }
  725.